//
//  CustomView.h
//  CustomView
//
//  Created by zhuchao on 16/6/22.
//  Copyright © 2016年 zhanhua. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface CustomView : UIView
@property(nonatomic,assign)int index;
@property(nonatomic,strong)UIImageView *icon;//图片视图
@property(nonatomic,strong)UILabel  *titleLabel;//标签
@property(nonatomic,strong)UIImage *image;//图片对象
@property(nonatomic,copy)NSString *title;//标题

#pragma mark -- 初始化CustomView 设置图标和标题
-(instancetype)initWithFrame:(CGRect)frame image:(UIImage *)image title:(NSString *)title;
@end
